#include "define.h"
#pragma once

extern void ResetHistoryTable();
extern int GetHistoryScore(CHESSMOVE *move);
extern void EnterHistoryScore(CHESSMOVE *move,int depth);
extern void MergeSort(CHESSMOVE *source, int n, bool direction);
extern void Merge(CHESSMOVE *source, CHESSMOVE *target, int l,int m, int r);
extern void MergePass(CHESSMOVE *source, CHESSMOVE *target, const  int s, const  int n, const bool direction);
extern void Merge_A(CHESSMOVE *source, CHESSMOVE *target, int l,int m, int r);
extern int m_HistoryTable[90][90];
extern CHESSMOVE m_TargetBuff[100];